<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        window.onload = function () {
            var body = document.getElementsByTagName("body")[0];
            body.onmousemove = function () {
                window.status = "x="+event.clientX+",y="+event.clientY;
            };
        }
    </script>
</head>
<body style="border: 1px solid #000; height: 1000px;">

</body>
</html>